// songplayer.h

// 2008-05-02 10:14:08 (Jake): created

#ifndef songplayer_h
#define songplayer_h

class Song;

class SongPlayer : public osg::Referenced {
public:
	SongPlayer();
	void load(const Song* song);
	void play();
	void pause();
	void resume();
	void stop();

	void destroy();

protected:
	osg::ref_ptr<openalpp::Source> _songLeft;		
	osg::ref_ptr<openalpp::Source> _guitarLeft;
};

#endif